combined logic function

un. 组合逻辑功能